package com.zp.business.entity.register.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.zp.common.excel.annotation.ExcelDictFormat;
import com.zp.common.excel.convert.ExcelDictConvert;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;


/**
 * 挂号收费类型表视图对象
 *
 * @author zhang peng
 * @ date 2023-12-26
 */

@Data
@ExcelIgnoreUnannotated
public class RegisterPayTypeVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private String id;

    /**
     * 门诊记录ID
     */
    @ExcelProperty(value = "门诊记录ID")
    private String clinicId;

    /**
     * 费用支付类型
     */
    @ExcelProperty(value = "费用支付类型")
    private String type;

    /**
     * 费用
     */
    @ExcelProperty(value = "费用")
    private BigDecimal cost;

    /**
     * 核算科目
     */
    @ExcelProperty(value = "核算科目", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "reck_item_class_dict")
    private String subjCode;

    /**
     * 结账号
     */
    @ExcelProperty(value = "结账号")
    private String acctNo;


}
